//添加收货地址
export const addGroupEnterpriseApi = async (data) => {
	const {
		data: res
	} = await uni.$http.post('/api/enterprise/addGroupEnterprise', data)
	return res
}

// 查团长详情
export const queryGroupEnterpriseApi = async () => {
	const {
		data: res
	} = await uni.$http.post('/api/enterprise/queryGroupEnterprise')
	return res
}

// 统计团长首页数据
export const groupStatisticsApi = async () => {
	const {
		data: res
	} = await uni.$http.get('/api/group/groupStatistics')
	return res
}

// 团长订单信息
export const groupOrderInfoApi = async () => {
	const {
		data: res
	} = await uni.$http.get('/api/group/groupOrderInfo')
	return res
}

// 团长订单详情
export const groupOrderDetailApi = async (orderId) => {
	const {
		data: res
	} = await uni.$http.get(`/api/group/groupOrderDetail/${orderId}`)
	return res
}